package com.my.hotel.service.impl;

import com.my.hotel.entity.TbAppraise;
import com.my.hotel.mapper.AppraiseMapper;
import com.my.hotel.service.AppraiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AppraiseServiceImpl implements AppraiseService {
    @Autowired
    private AppraiseMapper appraiseMapper;

    public List<TbAppraise> getList() {
        return appraiseMapper.getList();
    }

    public void deleteAppraise(int id) {
        appraiseMapper.deleteAppraise(id);
    }
}
